<notempty name="lists">
<volist name="lists" id="vo">
  <if condition="$vo['store_id'] gt 0 ">
    <div class="shopone">
      <!-- 店铺信息 BOX -->
      <div class="information">
       <!-- 店铺LOGO BOX -->
       <div class="photos">
        <if condition="$vo.ItemInfo.item_count eq 0">
          <a href="javascript:;">
        <else />
          <a href="{:U('Store/index/store_id/'.$vo['store_id'])}">
        </if>
          <img src="{:get_cover(C('LOGO'),'path')}"></a>
       </div>
       <!-- 店铺信息 BOX -->
       <div class="shop-data">
         <if condition="$vo['ItemInfo']['item_count'] eq 0">
          <a href="javascript:;">
        <else />
          <a href="{:U('Store/index/store_id/'.$vo['store_id'])}">
        </if>
            <h4>{$vo.store_name}&nbsp;&nbsp;
              <eq name="vo.ItemInfo.is_activity" value="1">
                <span style="font-size: 12px;color: #fff;border-radius: 5px;background-color: red;padding: 3px 4px;border-radius: 5px">优惠</span>
              </eq>
            </h4>
          </a>
          <div class="statistics">
            <div class="commodity-number">
              <a href="javascript:;"><span>{$vo.ItemInfo.item_count}</span><P>商品数</P></a>
            </div>
            <div class="commodity-number">
              <a href="javascript:;"><span>{$vo.ItemInfo.item_buynum}</span><P>销量数</P></a>
            </div>
            <div class="commodity-number">
              <a href="javascript:;"><span>{$vo.ItemInfo.item_favnum}</span><P>收藏数</P></a>
            </div>     
          </div>
       </div>
       <div class="button">
        <if condition="$vo['ItemInfo']['item_count'] eq 0">
          <a href="javascript:;" style="background-color:#ccc !important;">进店</a>
        <else />
          <a href="{:U('Store/index/store_id/'.$vo['store_id'])}">进店</a>
        </if>
        </div>
      </div>
      <div class="line"></div>
      <!-- 店铺商品 BOX -->
      <notempty name="vo.ItemInfo.ItemList">
      <ul class="commodity-img">
        <volist name="vo.ItemInfo.ItemList" id="voo">
        <lt name="key" value="3">
         <li class="img-li">
          <div class="product-img">
           <a href="{:U('Item/detail/id/'.$voo['id'])}">
             <img src="{$voo.cover_path}"></a>
            <div class="price-wrap">
             <div class="price-wrap-shade"></div>
             <span class="g_price">¥</span><span class="price-num">{$voo.price}</span>
            </div>
          </div>      
         </li>
        </lt>
        </volist>    
      </ul>
      <else />
      <div style="width:100%;height:30px;">
        <p style="text-align:center;padding:5px;background:#ccc;"><span>暂无商品数据！</span></p>
      </div>
      </notempty>
      <!-- 店铺地址 BOX -->
      <div class="contact">
       <div class="contact-phone">
        <span>联系电话:</span>
        <a href="javascript:;"><p>{$vo.contacts_phone}</p></a>
       </div>
       <div class="contact-phone">
        <span>店铺地址:</span>
        <a href="javascript:;">
          <p>{$vo.address_info}&nbsp;&nbsp;&nbsp;<notempty name="vo.distance">【{$vo.distance_text}】</notempty></p>
        </a>
       </div>
       <div class="contact-phone">
         <span></span>
         <php>$lat=$_SESSION['jipushop_home']['localtion_lng_lat']['lat'];$lng=$_SESSION['jipushop_home']['localtion_lng_lat']['lng'];$city=$_SESSION['jipushop_home']['zone']['sub_name']</php>
         <a href="javascript:;">
          <p class="show-place" data-lat="{$vo.lat}" data-lng="{$vo.lng}" data-oldlat="{$lat}" data-oldlng="{$lng}" data-area="{$vo.store_address}" data-city="{$city}" data-detail="{$vo.address_info}" style="color:#2d8701">查看位置</p></a>
       </div>
      </div>
    </div>
  </if>
</volist>
</notempty>
<script>
  C.has_more =  '{$_hasmore}';
</script>